package service

import (
	"cooke-home/common/model/base_dto"
	"cooke-home/stock-service/model/dto"
	"cooke-home/stock-service/model/entity"
)

type StockService interface {
	Save(*dto.StockDto) error
	Delete(base_dto.BatchDeleteDto) error
	Update(*dto.StockDto) error
	Get(int64) (*entity.StockEntity, error)
	GetList(int64) ([]*entity.StockEntity, error)
	Clear(*dto.StockDto) error
	Minus(*dto.StockDto) error
}
